#ifndef OPENGL_SHAPE_CUBE_H_
#define OPENGL_SHAPE_CUBE_H_
// OpenGL 立方体 绘制
#include<QOpenGLFunctions_3_3_Core>
#include<OpenGLShapeBase.h>
#include<QVector3D>

class ShapeCube :public ShapeBase {
public:
	//bool init(QOpenGLFunctions_3_3_Core* f);
	ShapeCube(QVector3D center, double length, double width, double height);
	bool render();
	//bool release();

private:
	void drawCube(QVector3D center, double length, double width, double height);
	QVector3D _center;
	double _length;
	double _width;
	double _height;


};

#endif